package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcPatrolPointBind;
import com.csun.cmny.provider.model.vo.patrol.PatrolGreatVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcPatrolPointBindMapper extends Mapper<DmcPatrolPointBind> {

    /*
     * 巡更点解绑巡更棒
     * */
    Integer pointUntiedPatrol(List<DmcPatrolPointBind> dmcPatrolPointBinds);

    /**
     * 查询需更棒集合
     *
     * @return  the patrol great vo list.
     */
    List<PatrolGreatVo> queryPatrolGreatList();
    /*
     * 巡更点绑定巡更棒
     * */
    Integer pointBindPatrol(List<DmcPatrolPointBind> dmcPatrolPointBinds);

    Integer deleteById(Long pointId);
    /*
     * 查询巡更棒是否绑定
     * */
    List<DmcPatrolPointBind> selectPatrolPoint(Long id);
}